package aiku.numericalcontroloa.Model.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 出库产品表
 * @Author 黄广庭
 * @Date 2024/5/7 11:26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "outbound_part")
public class OutboundPart extends BaseEntity implements Serializable {
    /**
     * 出库id
     */
    @TableField(value = "outbound_id")
    private String outboundId;

    /**
     * 产品id
     */
    @TableField(value = "part_id")
    private String partId;

    /**
     * 出库数量
     */
    @TableField(value = "outbound_count")
    private Float outboundCount;

    /**
     * 总金额
     */
    @TableField(value = "total_price")
    private BigDecimal totalPrice;

    /**
     * 归还数量
     */
    @TableField(value = "return_count")
    private Float returnCount;
}
